/**
 * Copyright (C) 2014 Jonas Lammers
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */
package mygame;

import javax.vecmath.Vector3d;

/**
 *
 * @author jonas
 */
public class CollisionResult {
    
    private final CollisionObject object1;
    private final CollisionObject object2;
    private final Vector3d collisionPoint;
    
    public CollisionResult(CollisionObject object1, CollisionObject object2
            , Vector3d collisionPoint){
        this.object1 = object1;
        this.object2 = object2;
        this.collisionPoint = collisionPoint;
        
    }

    public CollisionObject getObject1() {
        return object1;
    }

    public CollisionObject getObject2() {
        return object2;
    }

    public Vector3d getCollisionPoint() {
        return collisionPoint;
    }
}
